class CreateCountries < ActiveRecord::Migration
  def self.up
    create_table :countries do |t|
      t.string  :name, :null=>false
      t.string :capital
      t.string :currency_code
      t.string :currency_name
      t.string :telephone_code
      t.string :country_code_2
      t.string :country_code_3
      t.integer :country_number
      t.string :country_tld
      #t.timestamps
    end
  end

  def self.down
    drop_table :countries
  end
end
